package com.xhwl.centiotdata.handler.alarm.impl;

import com.xhwl.centiotdata.handler.alarm.AlarmFactory;
import com.xhwl.centiotdata.handler.alarm.AlarmHandler;
import com.xhwl.common.dto.cent.alarm.iot.IotAlarmBody;
import com.xhwl.common.dto.cent.device.DeviceDTO;
import org.springframework.stereotype.Component;

/**
 * @description: 紧急告警
 * @author: chaoyun
 * @create: 2022/8/2 21:52
 **/
@Component
public class AlarmHuaWeiIotDAEmergencyAlarmHandler extends AlarmHandler {
    @Override
    public void afterPropertiesSet() throws Exception {
        AlarmFactory.register("EmergencyAlarm",this);
    }

    @Override
    public  void pushHuaWeiIotDAIotAlarmBody(IotAlarmBody t, DeviceDTO device) {
    }
}
